package com.qianfeng.smartdevices.service;

import com.qianfeng.smartdevices.pojo.Role;

import java.util.List;

public interface RoleService {

    List<Role> findRoleByUserId(Long uid);
    List<Role> findAllRole();
    void addRole(Role role);

    void updateRole(Role role);

    void deleteRole(Long[] ids);
}
